/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dca.sistemascontrole.sinais;

/**
 *
 * @author Rafael
 */
public class Degrau extends Sinal {

    public Degrau(float amplitude, float offset) {
        super(0, amplitude, 0, offset);
    }

    @Override
    protected float getValue(long t) {
        return amplitude;
    }
}
